package com.cnswhy.cloud.server.core.dao;

import com.cnswhy.cloud.common.core.base.mapper.SuperMapper;
import com.cnswhy.cloud.server.core.entity.CustomerReceiver;
import com.cnswhy.cloud.server.core.entity.ShopOrder;

import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * 商品订单表
 * </p>
 *
 * @author cnswhy
 * @date 2020-10-25
 */
@Repository
public interface ShopOrderMapper extends SuperMapper<ShopOrder> {
    ShopOrder queryById(Long id);
    ShopOrder queryByPayOrderNo(String payOrderNo);
    ShopOrder queryByOrderNo(String orderNo);
    void insert1(ShopOrder entity);
    void update1(ShopOrder entity);

    List<ShopOrder> pageList(ShopOrder shopOrder);

}
